-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Table] Add table-footer-group CSS #11264
Conversation
@t49tran You need to run |
I completely miss that @mbrookes , will update it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -12,9 +20,9 @@ class TableFooter extends React.Component { | |||
} | |||
|
|||
render() { | |||
const { component: Component, ...other } = this.props; | |||
const { classes, className: classNameProp, component: Component, ...other } = this.props; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that we need the intermediary classNameProp
variable.
This PR add classes prop to
TableFooter
component and wrap it with the HOCwithStyles
so the 3 table section componentTableHead
,TableBody
andTableFooter
is consistent as per discussion in #11182 (already closed).In this PR:
--- update TableFooter with classes and className props.
--- update TableFooter typing
--- update TableFooter test to test for root classes.